package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Friend;

import java.util.List;

public interface FriendApi {
    //添加好友
    void save(Long userId, Long friendId);

    List<Friend> listById(Long userId,int page, int pagesize);

    Integer findCountMatching(Long id);

    Integer findBeLiked(Long id);

    Integer findLiked(Long id);

}